<include file="Public:js" /> 
<div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="#">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">轮播图管理</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
               <!--  <form action="{:U('Qrcode/goodsList',array('supplier_id'=>$supplier_id))}" method="post">
                    <table class="search-tab">
                        <tr>
                           
                            
                            <th width="70">商品名称:</th>
                            <td><input class="common-text" placeholder="关键字" name="goods_name" value="" id="" type="text"></td>
                            <td><input class="btn btn-primary btn2" name="sub" value="查询" type="submit"></td>
                        </tr>
                    </table>
                </form> -->
            </div>
        </div>
        <div class="result-wrap">
           
                <div class="result-title">
                    <div class="result-list">
                        <!-- <a href="insert.html"><i class="icon-font"></i>新增</a>
                        <a id="batchDel" href="javascript:void(0)"><i class="icon-font"></i>批量删除</a>
                        <a id="updateOrd" href="javascript:void(0)"><i class="icon-font"></i>更新排序</a> -->
                        <a style="float:right;" href="{:U('Goods/addLunbo',array('goods_id'=>$goods_id))}"><i class="icon-font"></i>添加</a>
                         <a style="float:right;" href="javascript:history.back(-1)"><i class="icon-font"></i>返回</a>
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <!--<th class="tc" width="5%"><input class="allChoose" name="" type="checkbox"></th>-->
                            <th>编号</th>
                            <th>广告位置</th>
                            <th>缩略图</th>
                            <th>链接地址</th>
                            <th>添加时间</th>
                            <th>排序</th>
                           
                            <th>操作</th>
                        </tr>
                        <foreach name="listinfo" item="ov"> 
                        <tr>
                            <!--<td class="tc"><input name="id[]" value="59" type="checkbox"></td>-->
                            <td>
                                {$ov.id}
                           </td>
                            <td>
                                <if condition="$ov.lunbo_weizhi eq 1"> 基本信息轮播
                                <elseif condition="$ov.lunbo_weizhi eq 2"/>检测信息轮播
                                <else /> 其他信息轮播
                                </if>
                            </td>
                            <td width='20%'><img style='width:60px;height: 60px;' src="{$ov.imgurl}"></td>
                            <td>{$ov.dzrul}</td>
                            <!-- -->
                             
                              <td>{$ov.add_time|date="Y-m-d H:i:s",###}</td>
                             <td>{$ov.sort}</td> 
                            <td>
                                
                                    <a class="link-update" href="{:U('Goods/editLunbo',array('id'=>$ov['id']))}">修改
                                
                                
                                
                                <a class="link-del" href="{:U('Goods/delLunbo',array('id'=>$ov['id']))}">删除</a>
                                
                            </td>
                            
                        </tr>
                        </foreach> 
                        
                    </table>
                    <div class="list-page"> {$page}</div>
                </div>
          
        </div>
    </div>